Fixing bug on sockets
Remove useless views