fix convert to use -n option correctly