fix call inValid method get invalid state in is_true and is_false rules