I get errors when mining