fixed some broken layout stuff