fix widget example