add fix for events created before install