check data validations