license & remove unnecessaries