Fix interactive mode