fix some layout stuff