fix layout configuration