reformat alerts.