class uppercase fixed in the controller causing error