add adapters for some widgets