fixed some yaml serialization errors