content trimming