load patterns faster
fix pattern location
Merge branch 'faster-pattern-load'