Fixed a loadBranch bug