fix relative paths to html template