correcting changes in the layout