fix infinite loop bug with aliasing cd