bug fix: I had forgotten the maxnodedepth attr