fix missing anchor ids