fix can't change immutable index when going through sprockets