[FIX] index data vector correctly.