issue #64: friendly error in case of invalid config