bug for validationQueryCheck