fix a bug about bookmark endpoint