added truncate catevent table