fixing issue with varnish version string and erb error