gambit cleanup; ios callback deactivated by default