Delete redundant code in lectureroom and labroom