Fixed bug in storing cdss.