Fix compiler to produce proper output