fix forgotten SG_REF