removing unwanted libraries