fix config_environ is none