fix locale issues