removes unneeded braces