Avoid modifications of cells via pointers. Use SCM_SET_CELL... instead.