switch mode to selfcontained