fixed minescan bug