Fix the error when receiving status message from server.