fixed app for socket io