cleanup errors a little better, check to be sure key exists in default config