added change for removing from all_pages