fixed state plugin not correctly reopening loaded nodes