fixing some layout stuff