Corrected a mistake of out[check[ii]]