fixed get legal moves and merge issues