made the path to the template absolute