fixing sending alert when one fails all fail