FIX when no environment selected