trim the codes on github site.