fixed some env