complete pie widget && fix 2 bugs of widget