Attempted to fix getmessage