remove unnecessory fiels