number validation fixed