fix node saving issues