removing brackets template