fix customValidators.js