cleanup different layouts