You already check the input, just add another check.