output file extension fixed