Fix error in aspect serialization.