fix problem with locale