Fixed newnode bug