fixed incorrect event activation callback