fixed a duplicated outputfile name