Fixed crash when the packet can't read a string