Fixed the greater than nine and less than zero problem