add UIWidget support, fix typo