fixing locale stuff