Fix mp model build bug