fix path var to load templateurl without fixed path