fixed bug for loadorder, with runtype