trimming alert title/message