make patternentity works with taxonomy
comment debug information