Have you compensated your oscilloscope probes lately? Use the square wave test function on your scope and a small screwdriver to adjust the probe until you get a perfect square waveform.