bug fix: use tempalte lslocation https