fixing env