more robust handling of configuration issues / better debugging