fixed the bug of DTYPE_i