fixes #272, altering relative template paths