fix version checks