fixed bug in the cbm converter