Fixed bug loading cbf files