fixed initial getmessage processing