fix a bug in utilib.py (fft_pro function)