- fix the problem of init pattern table