Append anchor id
Fix bug