added refser.maxnesting info