core: don't add redundant brackets