fix layout stuff