fixed indexing with the new leads