fix version calculation for first buildwq