remove extra stuff in env_vars