[FLINK-1208] prevent index out of bound exception & specify current split