Serialization bug fix fucking bugfix.