debug for rewrite node content