fixes Issue #628 by cleaning up locales