some validations