bug fix: forgot read_barrier logic