fix custodian task error