move brackets to the template string