fix output writing in recombinator