Fix fout format and update dist