fix locale checker