Indexed the wrong value