fixed bug in cd application