remove externals