Fixed headless userInput.