hopefully fix index