fix variables for version lookup