fixing the global event undelegation(sp)