remove unrelated  deps and code