make work with locale