finally fixed the bug when only one CR[ ] is return