add localization
minor changes