fix placement of <span> tags for additional ids