Serialization

Fixed errors when tempering with serialization files