fix index graph