auto cut content length