Repairing the input procedure.