partial clean up of curley braces