fixed the dormitory manangement issue