remove $ from template string