Fixed bug with template output to *standard-output*