fix stackoverflowError
Signed-off-by: IcePlus <zhengjiabin.tj@gmail.com>