bug fix in load