fix version factory