fixes to removing alerts