fixed some ugly gdt idt and tss code