Fixed incorrect version number

There was an incorrect version number, and code in several places. I
fixed it.