fix focus rule.