fix crash of deleted account