numeric string logic fix for bug#2