Mina deploy bug fix