Toward a safer financial system in the digital era