fixes to alerts