fixing https://github.com/michellai/minesweeper/issues/9