removing unnecessary bundles