remove extranous bracket