remove unnecessaries