fix fail thread loop