Fixes previous widget id storage.