fixed error with duplicate keyword events being added