fix widget id bug