Revert "fix issue #225 (number validation)"

This reverts commit 6664aedd6964a2cf86189574d9c1f70b6f5f2199.
fix issue #225 (number validation)