increase the $widgetLength at each assignment
Merge pull request #18 from normanzb/fix_length_mis_calculate

increase the $widgetLength at each assignment