fix short-circuit bug in collapse material assurance