consistancy fixes for sockets