fix path to templates