delete unnecessary code
fix serialization