fixes to CDA processing
Merge pull request #3 from surangak/issue-01

fixes to CDA processing