Fix version lookup