fit content to content_len