Fix dialect refs