fix load model error