The deficit is still expected to top $ 500 billion in 2004 -- even with an improving economy .