fix the undefined error due to bookmark.lib