fix patternView