clean up superfluous brackets