Fix bug in CAB