He said he had learned some lessons from missteps made in Indonesia , when the bank was financing huge projects in a country that at the time was run by a dictator , Suharto , who was forced to resign in 1998 in the midst of the Asian economic crisis .