fixed a GDT trouble