Fixed CBM converter

Fixed issue #347