some output fixes