Fixed check_numbers()