fix on pull_env script