fixing the version attribute which can only be X.Y and not X.Y.Z