provide a check for braces and clean up the menu order