cancelling earlier agreement is deductible