1.2: fixed link code on template