fixes errors within read/write/nodes