Fix unlinked account crash issue