Reduce some errors under -DSCM_DEBUG=1.