clear rows before invoking nextRows callback