correcting layout