fix for jar packaged app not finding templates