fixed race condition in read buffer cache access