fix Layouts