fixing bvalidator for assertion