finish layout stuff