fix fib function for Lua: fib(0) must eql 0 not 1