clean up some layout stuff