possibly fixed a subscripting error

Signed-off-by: Jake Bromberg <jake.bromberg@gmail.com>