Fixed dependent:destroy issue