improves octave compat