Fixed bug for input choices.