Fix the change of shell env