fixing sockets not applying effects