fix layout sizing issues