fix on/outfile
fix segfault