fix in layout selector