fix picking for pieces>128