fix deploy bug