serialize fix up