merge all layouts