change cell type to integer