remove duped and unnecessary imports