Fix print

This fix was applied in the deployed branch. This PR brings it into master.