fix for a crash during wallet sync