main tpl fix links