impl. importEvents, resetAutoGeneratedCatgoryKey, fixed errors