fix version handling