fixed callback in setBookmarks