fix call stack