fixing template url