removes duplicate title tag from templates