Almost fixed it but still get alert when number is entered.