Small fix for locastorage and deserialize.