add missing brackets