modify lines.name to Id