add logic for alert on last intermediate problem