Fixed patternformatter on views