fixed bug in environment files