fixed some bad environment variables get