Solved valid number problem.