fix socket route