fixing nenvironment