unset only after inserts