Fix the join room variable reference error.