nest read/write implementation fix