fix bug of process dialog