fixed miss spelling of patterns