Fix for localization crash.