fix crash in spikes