Fix racy code in Get