race issue with saved flows