fix move bugs in join cmd