bugfix duplicate destroyed callback