fixing node class