upgrade trap crash