fix version matching