Fix wrong node attributes.