better inline_validation data check