fixed some bugs, repaired delivery note printout