add weak event handler.