fix version api