add attributes to alert