Attempt to fix activator. Activator is still a little wrong but at least
it hopefully does not cause crashes now.