remove repeated layouts