Fix teachers controller to do