- bugfixes in checkMoves()