delete superfluous brackets