minor condition change in lock free library