fix for last changes of validating node attributes