changed websocekts initializer again, maybe now works