Fix syntax by adding missing brackets