handle a tie