fix environment option