get index problem