import export added check for is_serialized