prevent detach event cascade