build destroy event