make invalid config exception more explicit