indexAdapter fix