fix Logger skip DomNode
* better env. preparation