fix overall printing