Fix regression in interactive mode