credit for unused portion at cancellation, patch from pbowen