remove env variables in compile