Fix cell type.