removes interactive mode