handle version better