cleanup, make test mining easier