switch to read barrier