found bug, going past index