fix IWidget rules