Protection from crash when you have no wallet