fixed infinite callstack issue in 0.10.0, but stack size limiting not working yet