fix air gen serialization