add pattern.treetop but do not work