trying to fix index