fixed debug module problem when no spikes are in window