WIP: fix version comparisons