correct the name of the deactivating function