use close instead of cancelDate

use close instead of cancelDate to avoid value been set intially