removed in-loop commit and save that caused silent failure