fixed some localization issues