remove dependency on old-locale