fix path in template