Fixed activation hook function call