fixed typo
fixed read/write nodes