shorten alert messages