Forgot to assign the saveIndex.