U.S. trade deficit improves