make sure config is correct