remove excess library