Use $$ver instead of $ver.