fixed another issue with number validation