fix version variable reference