print to file fix