don't merge ignores and params in gen but use the pattern_parameters instead
fix typo ...