killed analytics&sockets
refs assigment fix