Fix feature of changing locale