fix bug for DialWithParam