fix save steps and flows