try to fix bug in PatternProdSelectionForm