Changed lifetime index to 1. OutOfBoundsException detected with index 2

OutOfBoundsException: The index "2" is not in the range [0, 1] bug FIXED.