fixed a bug with locale