fix for problem with getting the localizedstring