fix version method