add global event, fix #1
update