Fixed up element ids.