fixing preview template path