But the banks still have to cope with hundreds of billions of dollars of long-term loans that may well go bad as the housing market weakens and defaults soar -- the same for securities that are tied to those loans .