adding id to alerts