nodes properly save/load port state