fix divid 0 error in case 0 event hited

Signed-off-by: Jovi Zhangwei <jovi.zhangwei@gmail.com>