fixed more fileoutput