delete unnecessary libraries