Fix matched pattern storing bugs