unserialize fix