'activate' of undefined or null reference