fix for serialization_scope