fix loc for iOS