correctly replace piece in hand