When loading the Sample project I get this error

as you have added contract and declarer as parameters.
The gameplay also seems to have problems

As the first card is from the hand next to declarer, but recorded as declarer, so It fails when trying to remove card
When loading the Sample project I get this error

as you have added contract and declarer as parameters.
The gameplay also seems to have problems

As the first card is from the hand next to declarer, but recorded as declarer, so It fails when trying to remove card