fix hidden widgets if delete_page = pageIndex