set params_info default to `None` and check if it's set into htmldoc