prevent crash when deleted all bank_infos