fix bug with waiting for already triggered index event