hopefully fixed step/alter/octave writing issues