Fixed error in environment option