correct the nextBuildNumber if it's wrong