fix deseriablization error