Fixed little index-mess-up