shorten alert length