change the layout by delete pest