debug ssc->head_exists crash