catching configuration errors