fixed deploy bug