Booksmarks: fix undefined variable