fixing websockets