correct the bug in fib