bugfix: socket read