fix bug of dialect