Handled invalid input