Remove patternID