fixed output file