some type trimming