check config is set