merge layout