assure that selected nodes stay selected