check config for undefined