Fixed the character deserialization code
niks