Fixing websockets