fix widget small bugs