Remove unesscary brackets in template