fix crash when removing highlighted bookmarks in PDF