Oil prices rose on Wednesday after a surprise drop in U.S. crude inventories, but demand concerns amid record increases in COVID-19 infections in some U.S. states capped gains.

Brent crude futures LCOc1 rose 59 cents, or 1.4%, to $43.81 a barrel by 1216 GMT. U.S. West Texas Intermediate crude futures CLc1 gained 47 cents, or 1.2%, to $41.51 a barrel.

Inventories of crude oil in the United States dropped by 6.8 million barrels last week to 531 million barrels, data from industry group the American Petroleum Institute showed on Tuesday.

Analysts’ expectations in a Reuters poll were for an increase of 357,000 barrels. U.S. government data is due later on Wednesday.

“A relief of 6.8 million barrels could normally help prices rise even further, but concerns over a new supply glut coming from August are capping gains,” Rystad Energy’s head of oil markets Bjornar Tonhaugen said.

The pandemic is keeping alive concerns about falling fuel demand causing an oversupplied market as record numbers of coronavirus infections are reported globally, including in the United States, the world’s biggest consumer of oil.

“The virus is spreading like wildfire across the Americas while Europe and Asia are displaying worrying signs of a second surge in cases,” Stephen Brennock of oil brokerage PVM said. 

Six U.S. states reported one-day records for coronavirus deaths on Tuesday and cases in Texas passed the 400,000 mark.

Indian refiners are cutting crude processing and shutting units for maintenance amid faltering fuel demand, officials at the companies said.

Attempts to provide relief amid the outbreak were in disarray as Republicans in the U.S. disagreed over their own plan for providing $1 trillion in new coronavirus aid on Tuesday.

Analysts are concerned about the risks to any U.S. recovery, while a new Federal Reserve policy statement due to be released later on Wednesday afternoon will show how seriously central bankers assess them.