Fix bug of client join actions.