fixed fnum bug