fix no rule match problem