fix custom validations