remove excess margins