fix #3811 (spikes in PE)