Fix a bug to save a bookmark