Fix bug in localization for onring