layout correction