digit error solved