remove middle data