fix "widget error"