fixed issue with track index starting at zero.