fixed get_env_variable Exception