Fix load file bug.