fixes an issue with the `destroy` emit event
0.0.29