fixed issue#3 octave