fixed urls to templates