fixing deploy bug