Fix input layout when the import fails