remove bracket in template