truncate details it it is larger than 140