Correction for shared memory