unit-cam fix

updating determination of unit to attach unit-cam to so it works again