fixing quoting issue in template