fixed global printout