Half-fixes out-of-order compilation problem for output