fix mapper output