Fixed lua start index as 1