fixed cd bug