remove excess stuff