fix for simulation roundtripping