improved handling of bookmark deletion