nodes cleanup