[pattern]fix pattern's name bug, from parttern to pattern