fixing env stuff