fix error when no validation modules are present.