Fix I/O in confusing in template