fixing a few problems with the version