many fixes to print