Cleanup OTSmartContract