Fixes Hanning method.