fix starti, startj for detectAsync