generate is not an event
fix copy