bug fix in LocalizationDatabase