edited syntax in validations in Product model