removed deprecated use of $vars['url']