model load bug fix