fixed problems with CDL.cup