fixed sending data to server on 'read' event