fixed urls on manage/edit templates