losing pairs weren't being written to failed files