small fixes to the output