gold takes a leg lower, but hangs on for first weekly gain in a month