Fixes can_dig issue

Passing ObjRef instead of plain name string to can_dig