Hi Sagi,
While working, your code is a bit risky, in case of Adobe Campaign Product team decides to change the XML memo field.
You should rather use this simple notation in your delivery:
<%= message.delivery.mailParameters.subject %>
Regards
J-Serge