fixes to version api