fix typo. the _delegation property needs to be deleted when true.