handling multiple alerts on alert client + server