web socket issues fixed