Fixed room issue in teacher view