Fix mixed output in parallel mode