remark after alg:complete about input

and some other small stuff