debug ipad wrong event index