some GDT fixes