fixed bug I introduced with last commit on SC
doh...