fix mistake with number input