fix issue allowing leading zeroes in major, minor and patch