fix localization errors