fix url path
set template path