fixed issue on add_env_com