edited text format to alert