Minor changes for IO

Minor changes for output