more graceful check for config value