fixed some problems with non tail recursion see test case fuc/fct