fix a bug for N-called no call
fix a problem for walking to the end