fixing issue in edit building and classroom