fixes double alerts