fixed locale lookup