Fixing $version bug.