fix mkfile