fix layout setting