fix detect event start