bugfix: trim node content