Fix tabs and globals.