fix widget controller