fix widget problem