Widget deleting fix