Fixed errors on activation.