make locales loading work