Fixed error where localization was incorrect