fix ls response parsing