fix a bug
add client as a namespace to server