fix protection when nil name is passed to can_interact