workarounds for old version of octave