corrected number extraction

distracted the number from the string.