FIX EnvironmentsController validations