Fixed problem with number input