add events in demo
fix