remove unnessary libraries