trimming the advertisement.