second try to make the path to the template absolute