fix routing of socket io