fix unserializer patch