Fixed deploy bug