Add error checks for bookmarks parser