Protect on_dig
