Fixed the mining system.