more verification when clean (refs #4073)
correct DocFam:setParam when use it several times (refs #4073)