fixes Undefined property in message when calling Message->getSubject()