removing unnecessary libraries