Fixed the input handling