fix null poiner, and add start/end row of coprocessor