fixed small variable fail in version.sh