before localization
fixed some mess
doing locale