removing invocation to thread race