add event module and off fn in delegate