remove trailing }}