small validators-util refactorings