fixed a bug where the sever would crash after attempting to read a blank message to itself