fixed check_env hardcoded value