fix socket io issue.
add new features.