fix bug displays bookmarks
(cherry picked from commit 2cc7f5a)