fix call api twice bug