fix crash when zapping.