remove unneeded brackets