test fix wrong assumption should be previous index + 501 + 6