removing the automode