fix a silly bug in output

thanks ALEJANDRO for pointing out