Fixed bug causing the parsed message to be null