Fixed bug in versionkey