Fixing error in environment override