still have problem with index issue