Fixing bugs to get small fib_te working.