widget initialization typo