fixed some things related to digging