added space splitting for extracting mate pairs