fix index commit