set was_activated to false when deactivate() is run and clean up the