removes duplicate imports.