fixed client join bug