fix multilayout