fixed error. added debug module for socket io