miner page refactoring