Fixed weird log when loading locales