fixed missing </a> tag in sync template