Correcting layout