removes unused library