updated version validation
Merge pull request #13 from jlambert121/validation_fix

updated version validation