fixing selecting a position on the board