swap disable and enable