conv_to_oct: few fixes