fix parametrized wildcard recognition