remove excess images