BUG: repeated label names in getTemplateCoordinates.R