fix template creation - stray quotes