remove "isDefaultPattern" field
fix compile error for isDefaultPattern
fix bug in #1220
Merge pull request #1235 from dwightguth/fixandrei

fix bug in #1220
Merge pull request #1226 from dwightguth/default_pattern

remove "isDefaultPattern" field